Introduce guest_handle_subrange_okay() for checking sub-sections of an
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Jun 2008 12:49:56 +0000 (13:49 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Jun 2008 12:49:56 +0000 (13:49 +0100)
commitfaef567a6b88dac76e1b56be0fff33c52211330c
tree4cdc73eb7f82ebf2d18db98e1fb580d45d8debe3
parenta01be666f18b2b2c0f423199db8afc503d52ab78
Introduce guest_handle_subrange_okay() for checking sub-sections of an
argument array. Needed where a compat shim is splitting up a 32-bit
guest's larger argument array, and only the currently-active part of
the translated array is contained within the compat_arg_xlat_area.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/memory.c
xen/include/asm-x86/guest_access.h
xen/include/xen/xencomm.h